<template>
	<view class="page">
		<u-parse :html="content"></u-parse>
	</view>
</template>

<script>
	import {
		viewNotice
	} from "@/common/config/chat.js"
	export default {
		data() {
			return {
				content: ''
			}
		},
		onLoad(e) {
			uni.setNavigationBarTitle({
				title:e.title
			})
			if(e.type=='sys'){
				viewNotice({id:e.id}).then(()=>{
					this.content = e.detail
				})
				
				return
			}
			if(e.type=='reply'){
				// viewNotice({id:e.id}).then(()=>{})
				// this.content = e.detail
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped>
.page{
	
	padding: 20rpx;
}
</style>
